#define _CRT_SECURE_NO_WARNINGS 1

#include "Queue.h"
int main()
{	
	Queue ps;
	QueueInit(&ps);

	QueuePush(&ps, 1);
	QueuePush(&ps, 2);
	QueuePush(&ps, 3);
	QueuePush(&ps, 4);
	QueuePush(&ps, 5);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	QueuePush(&ps, 6);
	printf("QueueSzie = %d\n", QueueSzie(&ps));
	while (!QueueEmpty(&ps))
	{
		printf("%d ", QueueFront(&ps));
		QueuePop(&ps);
	}

	QueueDestory(&ps);
	return 0;
}